<template>
  <el-form ref="alismsInfoForm" :model="info" :rules="rules" label-width="150px">
    <el-row>
      <el-col :span="12">
        <el-form-item label="AccessKeyId用于标识用户" prop="accessKeyId">
          <el-input placeholder="请输入accessKeyId" v-model="info.accessKeyId" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="AccessKeySecret是用来验证用户的密钥" prop="accessKeySecret">
          <el-input placeholder="请输入accessKeySecret" v-model="info.accessKeySecret" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="短信签名" prop="signName">
          <el-input placeholder="请输入短信签名" v-model="info.signName" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="消息条数" prop="count">
          <el-input placeholder="请输入消息条数" v-model="info.count" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="短信有效时长(秒)" prop="expireSeconds">
          <el-input placeholder="请输入短信有效时长(秒)" v-model="info.expireSeconds" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="发送间隔时长(秒)" prop="intervalSeconds">
          <el-input placeholder="请输入发送间隔时长(秒)" v-model="info.intervalSeconds" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="注册模板" prop="registerMould">
          <el-input placeholder="请输入注册模板" v-model="info.registerMould" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="修改密码模板" prop="updatePwdMould">
          <el-input placeholder="请输入修改密码模板" v-model="info.updatePwdMould" />
        </el-form-item>
      </el-col>
      <el-col :span="24">
        <el-form-item label="备注" prop="remark">
          <el-input type="textarea" :rows="3" v-model="info.remark"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  props: {
    info: {
      type: Object,
      default: null
    }
  },
  data() {
    return {
      // 表单校验
      rules: {
      }
    };
  }
};
</script>
